.herb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 5px;
}

.herb-list-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: var(--card-bg);
  position: relative;
  overflow: hidden;
}

.herb-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.herb-list-item h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: var(--primary-color);
  font-family: 'SimSun', 'STSong', serif;
}

.herb-list-item .category {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
  display: block;
}

.herb-list-item .properties {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
}

.herb-list-item .property {
  background-color: rgba(143, 87, 51, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

.herb-list-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary-color);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.herb-list-item:hover::before {
  opacity: 1;
}

@media (max-width: 600px) {
  .herb-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
} 